package com.zl.learning.io.net;

import org.junit.Test;

import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;

public class TestNet {
    @Test
    public void test1() throws UnknownHostException {
        InetAddress[] address = InetAddress.getAllByName("wgkc.com");
        System.out.println(Arrays.toString(address));
    }
}
